home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Enlighten DSM 1.1
/
SGI EnlightenDSM 1.1.iso
/
hp10x
/
common.z
/
common
/
scripts
/
user.rc
Wrap
Text File
|
1998-06-30
|
676b
|
38 lines
#
# Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
# -- All Rights Reserved --
#
# Arg 1: gecos (realname, telephone, office)
# Arg 2: home directory
# Arg 3: uid
# Arg 4: gid
# Arg 5: shell
# Arg 6: login name
#
# Copy default initialization scripts into HOME directory
# /etc/d.cshrc
# /etc/d.exrc
# /etc/d.login
# /etc/d.profile
#
# NOTE: if the parameter CREATEHOMEDIR == 0
# then the home directory may not exist when
# this script executes
if test -d $2 ; then
for i in /etc/d.*
do
/bin/cp $i "$2"/.`echo $i | /usr/bin/awk -F. '{ print $2 }'`
done
if test -f /etc/vuerc
then
/bin/cp /etc/vuerc "$2"/.vue
fi
fi
exit 0